3.154 \(\int \frac {\sin (e+f x)}{(a+b \sin ^2(e+f x))^{3/2}} \, dx\)

Optimal. Leaf size=34 \[ -\frac {\cos (e+f x)}{f (a+b) \sqrt {a-b \cos ^2(e+f x)+b}} \]

[Out]

-cos(f*x+e)/(a+b)/f/(a+b-b*cos(f*x+e)^2)^(1/2)

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.087, Rules used = {3186, 191} \[ -\frac {\cos (e+f x)}{f (a+b) \sqrt {a-b \cos ^2(e+f x)+b}} \]

Antiderivative was successfully verified.

[In]

Int[Sin[e + f*x]/(a + b*Sin[e + f*x]^2)^(3/2),x]

[Out]

-(Cos[e + f*x]/((a + b)*f*Sqrt[a + b - b*Cos[e + f*x]^2]))

Rule 191

Int[((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(x*(a + b*x^n)^(p + 1))/a, x] /; FreeQ[{a, b, n, p}, x] &
& EqQ[1/n + p + 1, 0]

Rule 3186

Int[sin[(e_.) + (f_.)*(x_)]^(m_.)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2)^(p_.), x_Symbol] :> With[{ff = Free
Factors[Cos[e + f*x], x]}, -Dist[ff/f, Subst[Int[(1 - ff^2*x^2)^((m - 1)/2)*(a + b - b*ff^2*x^2)^p, x], x, Cos
[e + f*x]/ff], x]] /; FreeQ[{a, b, e, f, p}, x] && IntegerQ[(m - 1)/2]

Rubi steps

\begin {align*} \int \frac {\sin (e+f x)}{\left (a+b \sin ^2(e+f x)\right )^{3/2}} \, dx &=-\frac {\operatorname {Subst}\left (\int \frac {1}{\left (a+b-b x^2\right )^{3/2}} \, dx,x,\cos (e+f x)\right )}{f}\\ &=-\frac {\cos (e+f x)}{(a+b) f \sqrt {a+b-b \cos ^2(e+f x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.12, size = 41, normalized size = 1.21 \[ -\frac {\sqrt {2} \cos (e+f x)}{f (a+b) \sqrt {2 a-b \cos (2 (e+f x))+b}} \]

Antiderivative was successfully verified.

[In]

Integrate[Sin[e + f*x]/(a + b*Sin[e + f*x]^2)^(3/2),x]

[Out]

-((Sqrt[2]*Cos[e + f*x])/((a + b)*f*Sqrt[2*a + b - b*Cos[2*(e + f*x)]]))

________________________________________________________________________________________

fricas [A]  time = 0.44, size = 57, normalized size = 1.68 \[ \frac {\sqrt {-b \cos \left (f x + e\right )^{2} + a + b} \cos \left (f x + e\right )}{{\left (a b + b^{2}\right )} f \cos \left (f x + e\right )^{2} - {\left (a^{2} + 2 \, a b + b^{2}\right )} f} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)/(a+b*sin(f*x+e)^2)^(3/2),x, algorithm="fricas")

[Out]

sqrt(-b*cos(f*x + e)^2 + a + b)*cos(f*x + e)/((a*b + b^2)*f*cos(f*x + e)^2 - (a^2 + 2*a*b + b^2)*f)

________________________________________________________________________________________

giac [A]  time = 0.58, size = 53, normalized size = 1.56 \[ \frac {\sqrt {-{\left (\cos \left (f x + e\right )^{2} - 1\right )} b + a} \cos \left (f x + e\right )}{{\left ({\left (\cos \left (f x + e\right )^{2} - 1\right )} b - a\right )} {\left (a + b\right )} f} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)/(a+b*sin(f*x+e)^2)^(3/2),x, algorithm="giac")

[Out]

sqrt(-(cos(f*x + e)^2 - 1)*b + a)*cos(f*x + e)/(((cos(f*x + e)^2 - 1)*b - a)*(a + b)*f)

________________________________________________________________________________________

maple [A]  time = 0.88, size = 31, normalized size = 0.91 \[ -\frac {\cos \left (f x +e \right )}{\left (a +b \right ) \sqrt {a +b \left (\sin ^{2}\left (f x +e \right )\right )}\, f} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(f*x+e)/(a+b*sin(f*x+e)^2)^(3/2),x)

[Out]

-cos(f*x+e)/(a+b)/(a+b*sin(f*x+e)^2)^(1/2)/f

________________________________________________________________________________________

maxima [A]  time = 0.39, size = 32, normalized size = 0.94 \[ -\frac {\cos \left (f x + e\right )}{\sqrt {-b \cos \left (f x + e\right )^{2} + a + b} {\left (a + b\right )} f} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)/(a+b*sin(f*x+e)^2)^(3/2),x, algorithm="maxima")

[Out]

-cos(f*x + e)/(sqrt(-b*cos(f*x + e)^2 + a + b)*(a + b)*f)

________________________________________________________________________________________

mupad [B]  time = 15.18, size = 119, normalized size = 3.50 \[ -\frac {\sqrt {2}\,\sqrt {2\,a+b-b\,\cos \left (2\,e+2\,f\,x\right )}\,\left (4\,a\,\cos \left (e+f\,x\right )+b\,\cos \left (e+f\,x\right )-b\,\cos \left (3\,e+3\,f\,x\right )\right )}{f\,\left (a+b\right )\,\left (8\,a\,b+8\,a^2+3\,b^2-4\,b^2\,\cos \left (2\,e+2\,f\,x\right )+b^2\,\cos \left (4\,e+4\,f\,x\right )-8\,a\,b\,\cos \left (2\,e+2\,f\,x\right )\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(e + f*x)/(a + b*sin(e + f*x)^2)^(3/2),x)

[Out]

-(2^(1/2)*(2*a + b - b*cos(2*e + 2*f*x))^(1/2)*(4*a*cos(e + f*x) + b*cos(e + f*x) - b*cos(3*e + 3*f*x)))/(f*(a
 + b)*(8*a*b + 8*a^2 + 3*b^2 - 4*b^2*cos(2*e + 2*f*x) + b^2*cos(4*e + 4*f*x) - 8*a*b*cos(2*e + 2*f*x)))

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(f*x+e)/(a+b*sin(f*x+e)**2)**(3/2),x)

[Out]

Timed out

________________________________________________________________________________________